export default {
  path: '/subject',
  component: () => import('@/layout/index.vue'),
  meta: { title: '学科管理', icon: 'dashboard' },
  name: 'subject',
  redirect: '/subject/subject',
  children: [
    {
      path: '/subject/subject/:id?',
      component: () => import('@/views/subject/subject'),
      name: 'subjectinfo',
      meta: { title: '学科信息', icon: 'dashboard' }
    },
    {
      path: '/subject/directory/:id?',
      component: () => import('@/views/subject/directory'),
      name: 'directory',
      meta: { title: '目录信息', icon: 'dashboard' }
    },
    {
      path: '/subject/tag',
      component: () => import('@/views/subject/tag'),
      name: 'tag',
      meta: { title: '标签信息', icon: 'dashboard' }
    }
  ]
}
